package com.study.spring_aop_log.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者
 * @since 2022-05-18 17:16:45
 */
@Data
@TableName("user")
@ApiModel(value = "User对象", description = "")
public class User implements Serializable {

private static final long serialVersionUID = 1L;

                @TableId("id")
                private Integer id;

        @ApiModelProperty("用户名称")
    @TableField("user_name")
        private String userName;

        @ApiModelProperty("手机号")
    @TableField("phone")
        private String phone;

        @ApiModelProperty("创建时间")
    @TableField("create_time")
        private LocalDateTime createTime;

        @ApiModelProperty("更新时间")
    @TableField("update_time")
        private LocalDateTime updateTime;


    public static final String COL_ID = "id";

    public static final String COL_USER_NAME = "user_name";

    public static final String COL_PHONE = "phone";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

        }
